package com.diankangwo.factory.dao;

import com.diankangwo.factory.entity.TdOrderShoppingcart;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TdOrderShoppingcartMapper {

    int insert(TdOrderShoppingcart record);

    int insertSelective(TdOrderShoppingcart record);

    List<TdOrderShoppingcart> selectByOrderId(Integer orderId);
    List<TdOrderShoppingcart> selectByOrShoppingId(Integer id);
}